// vue.config.js，如没有此文件则手动创建
// module.exports = {
//     transpileDependencies: ['uview-ui']
// }
const ScriptSetup = require('unplugin-vue2-script-setup/webpack').default;
module.exports = {
	transpileDependencies: ['uview-ui'],
	parallel: false,
	configureWebpack: {
		plugins: [
			ScriptSetup({
				/* options */
			}),
		],
	},
	chainWebpack(config) {
		// disable type check and let `vue-tsc` handles it
		config.plugins.delete('fork-ts-checker');
	},
};